//package com.cryptape.cita_wallet;
//
//import android.app.Application;
//import android.content.Context;
//
//import com.cryptape.cita_wallet.language.MultiLanguageUtil;
//import com.cryptape.cita_wallet.service.http.EthRpcService;
//import com.cryptape.cita_wallet.util.crypto.AESCrypt;
//import com.cryptape.cita_wallet.util.crypto.WalletEntity;
//import com.cryptape.cita_wallet.util.db.SharePrefUtil;
//import com.uuzuche.lib_zxing.activity.ZXingLibrary;
//
///**
// * Created by duanyytop on 2018/4/17
// */
//public class CytonApplication extends Application {
//
//    private static CytonApplication instance = null;
//
//    public static MyApp.getsInstance()()(){
//        return instance;
//    }
//
//    public String MIDCode;
//    public boolean midQuerySuccess;
//
//    @Override
//    public void onCreate() {
//        super.onCreate();
////        LanguageKeeper.getInstance().init(this);
//        instance = this;
//        ZXingLibrary.initDisplayOpinion(this);
//        WalletEntity.initWalletMnemonic(this);
//        SharePrefUtil.init(this);
//        EthRpcService.init(this);
//        AESCrypt.init(this);
//        MultiLanguageUtil.init(this);
////        new LanguageKeeper(this).initLocalLanguage();
//    }
//
//    private void setupANRWatchdog() {
//        // Report only main thread due to way too big report - https://github.com/SalomonBrys/ANR-WatchDog/issues/29
//    }
//
//    @Override
//    protected void attachBaseContext(Context base) {
////        Context myContext = LanguageKeeper.getInstance().attachBaseContext(base);
//        super.attachBaseContext(base);
//    }
//}
